<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-CPP: TWindowManager类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-CPP
   </div>
   <div id="projectbrief">AWTK CPP API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="class_t_window_manager-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">TWindowManager类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="awtk__cpp_8hpp_source.html">awtk_cpp.hpp</a>&gt;</code></p>
<div class="dynheader">
类 TWindowManager 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_t_window_manager.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a3547a310eef9037dcb573d834e86afd9"><td class="memItemLeft" align="right" valign="top"><a id="a3547a310eef9037dcb573d834e86afd9"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TWindowManager</b> (widget_t *nativeObj)</td></tr>
<tr class="separator:a3547a310eef9037dcb573d834e86afd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bbda81bc87c2e2fefc5b2c017caec9e"><td class="memItemLeft" align="right" valign="top"><a id="a3bbda81bc87c2e2fefc5b2c017caec9e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TWindowManager</b> (const window_manager_t *nativeObj)</td></tr>
<tr class="separator:a3bbda81bc87c2e2fefc5b2c017caec9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac02ec623fd0b6f5c9ec85a842bb7c1f3"><td class="memItemLeft" align="right" valign="top">TWidget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_manager.html#ac02ec623fd0b6f5c9ec85a842bb7c1f3">GetTopMainWindow</a> ()</td></tr>
<tr class="separator:ac02ec623fd0b6f5c9ec85a842bb7c1f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e0affeef959643aae2313a4c094b1b9"><td class="memItemLeft" align="right" valign="top">TWidget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_manager.html#a9e0affeef959643aae2313a4c094b1b9">GetTopWindow</a> ()</td></tr>
<tr class="separator:a9e0affeef959643aae2313a4c094b1b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe9551f363c10b1cfd40e5a430166782"><td class="memItemLeft" align="right" valign="top">TWidget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_manager.html#afe9551f363c10b1cfd40e5a430166782">GetPrevWindow</a> ()</td></tr>
<tr class="separator:afe9551f363c10b1cfd40e5a430166782"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af07cc58d10e4beeecb661a32a4f73e56"><td class="memItemLeft" align="right" valign="top">xy_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_manager.html#af07cc58d10e4beeecb661a32a4f73e56">GetPointerX</a> ()</td></tr>
<tr class="separator:af07cc58d10e4beeecb661a32a4f73e56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcdf6dbf71d405a7310dc73314be49fa"><td class="memItemLeft" align="right" valign="top">xy_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_manager.html#afcdf6dbf71d405a7310dc73314be49fa">GetPointerY</a> ()</td></tr>
<tr class="separator:afcdf6dbf71d405a7310dc73314be49fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac03fe036c9e9a22744a20f62587e293b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_manager.html#ac03fe036c9e9a22744a20f62587e293b">GetPointerPressed</a> ()</td></tr>
<tr class="separator:ac03fe036c9e9a22744a20f62587e293b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07764783ec1eae0e8b8bbd7405d073d6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_manager.html#a07764783ec1eae0e8b8bbd7405d073d6">IsAnimating</a> ()</td></tr>
<tr class="separator:a07764783ec1eae0e8b8bbd7405d073d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3b76d0ff4a5f030df06e6f56ddc7314"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_manager.html#ad3b76d0ff4a5f030df06e6f56ddc7314">SetShowFps</a> (bool show_fps)</td></tr>
<tr class="separator:ad3b76d0ff4a5f030df06e6f56ddc7314"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98ad00772acfb1d9c9555b00221b95ee"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_manager.html#a98ad00772acfb1d9c9555b00221b95ee">SetScreenSaverTime</a> (uint32_t screen_saver_time)</td></tr>
<tr class="separator:a98ad00772acfb1d9c9555b00221b95ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6a2eb6e1057153fe26d645c7ee26f69"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_manager.html#aa6a2eb6e1057153fe26d645c7ee26f69">SetCursor</a> (const char *cursor)</td></tr>
<tr class="separator:aa6a2eb6e1057153fe26d645c7ee26f69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae013f2b90938d77d6a460c4047852833"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_manager.html#ae013f2b90938d77d6a460c4047852833">Back</a> ()</td></tr>
<tr class="separator:ae013f2b90938d77d6a460c4047852833"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48a85cdeddc62cc919e3f8c5cb28cfe1"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_manager.html#a48a85cdeddc62cc919e3f8c5cb28cfe1">BackToHome</a> ()</td></tr>
<tr class="separator:a48a85cdeddc62cc919e3f8c5cb28cfe1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2d5850e2185126bfa8aeeda6416202e"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_manager.html#ab2d5850e2185126bfa8aeeda6416202e">BackTo</a> (const char *target)</td></tr>
<tr class="separator:ab2d5850e2185126bfa8aeeda6416202e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7d80769320b56c9efc8d1b38ebd3639"><td class="memItemLeft" align="right" valign="top">ret_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_manager.html#af7d80769320b56c9efc8d1b38ebd3639">Resize</a> (wh_t w, wh_t h)</td></tr>
<tr class="separator:af7d80769320b56c9efc8d1b38ebd3639"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:ad08ee28c8abab5611bac7bafe7baae03"><td class="memItemLeft" align="right" valign="top"><a id="ad08ee28c8abab5611bac7bafe7baae03"></a>
static <a class="el" href="class_t_window_manager.html">TWindowManager</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (widget_t *nativeObj)</td></tr>
<tr class="separator:ad08ee28c8abab5611bac7bafe7baae03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae29114140fcad77a45d7f194f957f487"><td class="memItemLeft" align="right" valign="top"><a id="ae29114140fcad77a45d7f194f957f487"></a>
static <a class="el" href="class_t_window_manager.html">TWindowManager</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (const widget_t *nativeObj)</td></tr>
<tr class="separator:ae29114140fcad77a45d7f194f957f487"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca8b5aea15d1b2633cccb1b03c9f0ae4"><td class="memItemLeft" align="right" valign="top"><a id="aca8b5aea15d1b2633cccb1b03c9f0ae4"></a>
static <a class="el" href="class_t_window_manager.html">TWindowManager</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (TWidget &amp;obj)</td></tr>
<tr class="separator:aca8b5aea15d1b2633cccb1b03c9f0ae4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a664c344c3925323f4c274408f8cafad8"><td class="memItemLeft" align="right" valign="top"><a id="a664c344c3925323f4c274408f8cafad8"></a>
static <a class="el" href="class_t_window_manager.html">TWindowManager</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (const TWidget &amp;obj)</td></tr>
<tr class="separator:a664c344c3925323f4c274408f8cafad8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>窗口管理器。 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="ae013f2b90938d77d6a460c4047852833"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae013f2b90938d77d6a460c4047852833">&#9670;&nbsp;</a></span>Back()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TWindowManager::Back </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>请求关闭顶层窗口。</p>
<blockquote class="doxtable">
<p>如果顶层窗口时模态对话框，用DIALOG_QUIT_NONE调用dialog_quit。 </p>
</blockquote>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="ab2d5850e2185126bfa8aeeda6416202e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2d5850e2185126bfa8aeeda6416202e">&#9670;&nbsp;</a></span>BackTo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TWindowManager::BackTo </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>回到指定的窗口，关闭之上的全部窗口。</p>
<blockquote class="doxtable">
<p>如果顶层窗口时模态对话框，用DIALOG_QUIT_NONE调用dialog_quit。 </p>
</blockquote>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">target</td><td>目标窗口的名称。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a48a85cdeddc62cc919e3f8c5cb28cfe1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48a85cdeddc62cc919e3f8c5cb28cfe1">&#9670;&nbsp;</a></span>BackToHome()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TWindowManager::BackToHome </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>回到主窗口，关闭之上的全部窗口。</p>
<blockquote class="doxtable">
<p>如果顶层窗口时模态对话框，用DIALOG_QUIT_NONE调用dialog_quit。 </p>
</blockquote>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="ac03fe036c9e9a22744a20f62587e293b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac03fe036c9e9a22744a20f62587e293b">&#9670;&nbsp;</a></span>GetPointerPressed()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TWindowManager::GetPointerPressed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取指针当前是否按下。</p>
<dl class="section return"><dt>返回</dt><dd>返回指针当前是否按下。 </dd></dl>

</div>
</div>
<a id="af07cc58d10e4beeecb661a32a4f73e56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af07cc58d10e4beeecb661a32a4f73e56">&#9670;&nbsp;</a></span>GetPointerX()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xy_t TWindowManager::GetPointerX </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取指针当前的X坐标。</p>
<dl class="section return"><dt>返回</dt><dd>返回指针当前的X坐标。 </dd></dl>

</div>
</div>
<a id="afcdf6dbf71d405a7310dc73314be49fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcdf6dbf71d405a7310dc73314be49fa">&#9670;&nbsp;</a></span>GetPointerY()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xy_t TWindowManager::GetPointerY </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取指针当前的Y坐标。</p>
<dl class="section return"><dt>返回</dt><dd>返回指针当前的X坐标。 </dd></dl>

</div>
</div>
<a id="afe9551f363c10b1cfd40e5a430166782"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe9551f363c10b1cfd40e5a430166782">&#9670;&nbsp;</a></span>GetPrevWindow()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TWidget TWindowManager::GetPrevWindow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取前一个的窗口。</p>
<dl class="section return"><dt>返回</dt><dd>返回窗口对象。 </dd></dl>

</div>
</div>
<a id="ac02ec623fd0b6f5c9ec85a842bb7c1f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac02ec623fd0b6f5c9ec85a842bb7c1f3">&#9670;&nbsp;</a></span>GetTopMainWindow()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TWidget TWindowManager::GetTopMainWindow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取最上面的主窗口。</p>
<dl class="section return"><dt>返回</dt><dd>返回窗口对象。 </dd></dl>

</div>
</div>
<a id="a9e0affeef959643aae2313a4c094b1b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e0affeef959643aae2313a4c094b1b9">&#9670;&nbsp;</a></span>GetTopWindow()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TWidget TWindowManager::GetTopWindow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取最上面的窗口。</p>
<dl class="section return"><dt>返回</dt><dd>返回窗口对象。 </dd></dl>

</div>
</div>
<a id="a07764783ec1eae0e8b8bbd7405d073d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07764783ec1eae0e8b8bbd7405d073d6">&#9670;&nbsp;</a></span>IsAnimating()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TWindowManager::IsAnimating </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取当前窗口动画是否正在播放。</p>
<dl class="section return"><dt>返回</dt><dd>返回TRUE表示正在播放，FALSE表示没有播放。 </dd></dl>

</div>
</div>
<a id="af7d80769320b56c9efc8d1b38ebd3639"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7d80769320b56c9efc8d1b38ebd3639">&#9670;&nbsp;</a></span>Resize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TWindowManager::Resize </td>
          <td>(</td>
          <td class="paramtype">wh_t&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">wh_t&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>调整原生窗口的大小。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">w</td><td>宽度 </td></tr>
    <tr><td class="paramname">h</td><td>高度</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="aa6a2eb6e1057153fe26d645c7ee26f69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6a2eb6e1057153fe26d645c7ee26f69">&#9670;&nbsp;</a></span>SetCursor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TWindowManager::SetCursor </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>cursor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置鼠标指针。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">cursor</td><td>图片名称(从图片管理器中加载)。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a98ad00772acfb1d9c9555b00221b95ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98ad00772acfb1d9c9555b00221b95ee">&#9670;&nbsp;</a></span>SetScreenSaverTime()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TWindowManager::SetScreenSaverTime </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>screen_saver_time</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置屏保时间。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">screen_saver_time</td><td>屏保时间(单位毫秒)。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="ad3b76d0ff4a5f030df06e6f56ddc7314"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3b76d0ff4a5f030df06e6f56ddc7314">&#9670;&nbsp;</a></span>SetShowFps()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ret_t TWindowManager::SetShowFps </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>show_fps</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置是否显示FPS。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">show_fps</td><td>是否显示FPS。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/<a class="el" href="awtk__cpp_8hpp_source.html">awtk_cpp.hpp</a></li>
<li>output/awtk_cpp.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
